package com.gitee.feizns.web.ex;

import com.gitee.feizns.web.domain.result.Err;
import org.springframework.http.HttpStatus;

/**
 * @author feizns
 * @since 2019/7/4
 */
public class UnauthorizedException extends HttpException {

    public UnauthorizedException() {
        super(HttpStatus.UNAUTHORIZED);
    }

    public UnauthorizedException(String message) {
        super(HttpStatus.UNAUTHORIZED, message);
    }

    public UnauthorizedException(Err err) {
        super(HttpStatus.UNAUTHORIZED, err);
    }

}
